package com.beta.cust.bind.datasync.mapper.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.sql.Timestamp;

/**
 * <p>
 * 客户详情表
 * </p>
 *
 * @author pcc
 * @since 2024-03-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "CustInfo对象", description = "客户详情(CRM)表")
public class CrmCustDetail implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "CRM侧客户id")
    private String crmCustId;

    @ApiModelProperty(value = "CRM侧客户手机号")
    private String phone;

    @ApiModelProperty(value = "CRM侧客户名称")
    private String name;

    @ApiModelProperty(value = "CRM侧客户头像")
    private String avatar;

    @ApiModelProperty(value = "CRM侧客户性别0-未知 1-男性 2-女性")
    private String gender;

    @ApiModelProperty(value = "CRM侧客户民族")
    private String ethnicGroup;

    @ApiModelProperty(value = "CRM侧客户标签")
    private String label;

    @ApiModelProperty(value = "CRM侧提示数量")
    private String warnNums;

    @ApiModelProperty(value = "CRM侧客户资产")
    private String totalAsset;

    @ApiModelProperty(value = "CRM侧客户资产占比")
    private String assetAllocation;

    @ApiModelProperty(value = "支行名称")
    private String subBranch;

    @ApiModelProperty(value = "理财经理名称")
    private String custManagerName;

    @ApiModelProperty(value = "理财经理手机号")
    private String custManagerPhone;

    @ApiModelProperty(value = "客户姓名首字母拼音")
    private String nameFirstPinyin;

    @ApiModelProperty(value = "删除标志 0 未删除 1 已删除")
    private String delFlag;

    @ApiModelProperty(value = "修改时间")
    private Timestamp updateTime;

    @ApiModelProperty(value = "创建时间")
    private Timestamp createTime;


}
